package com.xwj.dao;

import com.xwj.dto.RepairInfoDto;
import com.xwj.entity.RaRepairInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface RaRepairInfoDao {
    List<RaRepairInfo> findAllInfo();

    List<RaRepairInfo> findRepairInfoByUserId(String userId);

    List<RaRepairInfo> findByProperty(RepairInfoDto repairInfoDto);

    List<RaRepairInfo> frontFindByProperty(RepairInfoDto repairInfoDto);

    int addOneInfo(RaRepairInfo raRepairInfo);

    int updateByProperty(Map<String, Object> map);

    int deleteByIds(List<String> list);

    int findRepairStatusById(String id);

    int updateDelflag(List<String> ids);

}
